From 60291a15119ef91ad195b01b85d5335b8a361bc8 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 20 Apr 2012 14:26:18 -0700 Subject: [PATCH] * keyboard.c (process_pending_signals): Define only if SYNC_INPUT. It is never used otherwise. --- src/ChangeLog | 5 +++++ src/keyboard.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 5626c7cd9c7..540cb6d87b6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-04-20 Paul Eggert + + * keyboard.c (process_pending_signals): Define only if SYNC_INPUT. + It is never used otherwise. + 2012-04-20 Stefan Monnier * print.c (print_preprocess): Only check print_depth if print-circle diff --git a/src/keyboard.c b/src/keyboard.c index 9ff19d61d41..d55a726827e 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -7196,6 +7196,7 @@ handle_async_input (void) #endif } +#ifdef SYNC_INPUT void process_pending_signals (void) { @@ -7203,6 +7204,7 @@ process_pending_signals (void) handle_async_input (); do_pending_atimers (); } +#endif #ifdef SIGIO /* for entire page */ /* Note SIGIO has been undef'd if FIONREAD is missing. */ -- 2.30.2